home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
com_and4.zip
/
VOICEOFF.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1990-03-12
|
1KB
|
38 lines
S29 = "VoiceOFF ver 1.0 " ; 20 chars long
LEGEND S29
;
; ----- VoiceOFF Scripted interface to VOICE.EXE: Turn VOICE OFF
;
; This script may be manually invoked, or automatically at the
; termination of COM-AND (via SET EXIT <scriptname>. It also
; may be FCALLed.
;
; R.McG; 3/90, Chicago
; ----------------------------------------------------------------
; Usages:
; S29 -----> Legend line
;
; -----------------------------------------------------------------------
; NOTE: This script terminates the previously loaded overlay
; -----------------------------------------------------------------------
;
; Set-up the overlay (our interface to VOICE.EXE).
;
IF FIND "_OVER" "talker." ; If overlay loaded is TALKER
SCALL 9 ; Entry addr 9 -> Close voice driver
MESS "!Voice driver off!" ; Inform...
ENDIF ; Clears VOICE.EXE if loaded by script
OVERLAY CLEAR ; Clear any overlay
;
; Now, test if there's an EXIT SCRIPT
;
IF NULL "_EXIT" ; If no exit script,
BYE ; .. terminate
ENDIF
SET EXIT "" ; Clear pending exit script
;
; Otherwise, manually invoked
;
IF FCALLED FRET ; Return if called
EXIT ; Else stop script